<template>
  <a-button type="primary" @click="addNum">add num</a-button>
  {{ count }}
</template>

<script setup lang="ts">
  import { ref } from 'vue';

  let count: any = ref(0);

  const addNum = () => {
    count.value++;
  };
</script>

<style scoped></style>
